from django.db import models

class Category(models.Model):
 name = models.CharField(max_length=20)

class Post(models.Model):
 title = models.CharField(max_length=100)
 body = models.TextField()
 created = models.DateTimeField()
 category = models.ForeignKey(Category)
  
class Page(models.Model):
 title = models.CharField(max_length=100)
 body = models.TextField()
 created = models.DateTimeField()
 
class Website(models.Model):
 title = models.CharField(max_length=100)
 
class Slogan(models.Model):
  title = models.CharField(max_length=100)

class CloseBlog(models.Model):
 body = models.TextField()

class blogtitle(models.Model):
 title = models.TextField()
 


 
